<?php
include '../../templates/db/db.php';

$email = $_POST['email'];
if(!eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+.[a-z]{2,4}$", $email)){
echo "<img src='../img/close.png' width='15px' />";
}else {
echo "<img src='../img/check.png' width='15px' />";
}